package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 老年人接种记录表
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_old_inoculation_record")
@ApiModel(value = "OldInoculationRecord对象", description = "老年人接种记录表")
public class OldInoculationRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
//      @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "接种计划ID")
    private Long planId;

    @ApiModelProperty(value = "用户编号")
    private Long userId;

    @ApiModelProperty(value = "状态 0未完成 1已完成")
    private Integer state;

    private String time;


}
